<!-- <template>
	<!-- <view>管理员审核</view> -->
	<div>
	<view class="merchant" @click="navigator(item.goodsId)" v-for="item in list" :key="item.goodsId">
		<view class="merchant_item">
			<view class="info">
				<view>商品名称:{{item.goodsName}}</view>
				<view>商品库存:{{item.goodsStock}}</view>
				<view>商品状态:{{item.goodsState}}</view>
				<view>先有库存:{{item.goodsQuantity}}</view>
				<view>商品日期:{{item.goodsUpdatetime}}</view>
				<view>创建日期:</view>
				<view>最后修改日期:</view>
			</view>
		</view>
	</view>
	</div>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {
	
		},
		methods: {
			getlist(){
				uni.request({
				    url: 'http://localhost:7000/shop/store/adminlist', //接口地址。
			
					method:'POST',
				    success: (res) => {
				        console.log(res.data.data.records);
				        // this.text = 'request success';
						uni.navigateTo({
							// url:'../index/index'
						})
				    }
				});
				
			}
		},
		mounted() {
			this.getlist()
		}
	}
</script>

<style lang="scss">
	.merchant{
		.mrchant_item{
			display: flex;
			padding: 10rpx 20 rpx;
			border-bottom: 1px ;
			.info{
				font-size: 24rpx;
			}
		}
	}
</style>
 -->